sysroot: Add concept of deployment "pinning" 📌
authorColin Walters <walters@verbum.org>
Fri, 23 Feb 2018 17:46:32 +0000 (12:46 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Feb 2018 19:06:59 +0000 (19:06 +0000)
commit7f88fddcd41f0fb12333eba145c99d2499b7767f
treee7d94073c4356c4cff20c4919883f4b197777362
parentc40a47e965d139cf6e72192bd582098a635b72f4
sysroot: Add concept of deployment "pinning" ðŸ“Œ

Example user story: Jane rebases her OS to a new major version N, and wants to
keep around N-1 even after a few upgrades for a while so she can easily roll
back. I plan to add `rpm-ostree rebase --pin` to opt-in to this for example.

Builds on the new `libostree-transient` group to store pinning state there.

Closes: https://github.com/ostreedev/ostree/issues/1460
Closes: #1464
Approved by: jlebon
15 files changed:
Makefile-man.am
Makefile-ostree.am
apidoc/ostree-sections.txt
bash/ostree
man/ostree-admin-pin.xml [new file with mode: 0644]
src/libostree/libostree-devel.sym
src/libostree/ostree-deployment.c
src/libostree/ostree-deployment.h
src/libostree/ostree-sysroot.c
src/libostree/ostree-sysroot.h
src/ostree/ot-admin-builtin-pin.c [new file with mode: 0644]
src/ostree/ot-admin-builtin-status.c
src/ostree/ot-admin-builtins.h
src/ostree/ot-builtin-admin.c
tests/test-admin-deploy-2.sh